// 以下是业务服务器API地址
// 本机开发时使用
 var dev = 'http://localhost:8895'; 
 // 使用服务器
 var servre = 'http://192.168.3.16:8895';
 var apiRoot = dev + '/yqz/'; 
 // 认证
module.exports = {
  login: apiRoot + 'user/wxLogin', //微信登录
  loginOut: apiRoot + 'user/signOut', // 退出
  // 认证信息
  register:{
    append: apiRoot + "register/append",
    submint: apiRoot + "register/submitPhoto",
    query: apiRoot + "register/qryOne",
    photo: dev + "/static/file",
  },
  order:{
    append: apiRoot + "order/append",
    remove: apiRoot + "order/remove",
    upStatus: apiRoot + "order/upStatus",
    query: apiRoot + "order/qry",
    queryOrderByUser: apiRoot + "order/queryOrderByUser",
    qryKeyword: apiRoot + "order/qryKeyword",
    joinOrder: apiRoot + "order/qryJoinOrder",
    upPayStatus: apiRoot + "order/upPayStatus",
    qryOrderUser: apiRoot + "order/qryOrderUser"
  },
  note:{
    query: apiRoot + "note/qry",
    qryOne: apiRoot + "note/qryOne",
  },
  school:{
    query: apiRoot + "school/qry",
    qryOne: apiRoot + "school/qryOne",
  },
  confirm:{
    append: apiRoot + "confirm/append",
    upStatus: apiRoot + "confirm/upStatus",
    query: apiRoot + "confirm/qry",
    qryOne: apiRoot + "confirm/qryOne",
  },
  user:{
    queryOne:apiRoot + "user/queryOne",
  },
  code: apiRoot + "auth/code",
};